Cancel Label

Cancel Label

POST/v1/open-api/label/cancel
LabelRequiredDescription
Api-KeyApi Key, please log in to the system and find it in My Profile
Api-SecretApi Secret, please log in to the system and find it in My Profile

Entity Types

The address recognition API is currently designed to recognize the following types of entities:

ParameterTypeRequired
order_num[string]
curl -X POST  \
  'https://api.sandbox.shipber.com/v1/open-api/label/cancel' \
  -H 'Content-Type:application/json' \
  -H 'Api-Key:2cn1wgmfidytin3jef3b' \
  -H 'Api-Secret:qRBYybjRch7BdTxO5NTyGUd6mBvowNbsjahnAnpdI-BXc5sCrRt15XGr-hc9oY7C' \
  -d '{"order_num":"cimy-977885"}'
{
    "data": {
        "status": "",
        "order_num": "",
        "custom_order_num": "",
        "shipment": {
            "carrier_service": "UPS Ground",
            "ship_from": {
                "uuid": "22d953b7-24c4-4ae9-afb4-111cc227b01e",
                "postal_code": "66102",
                "country_code": "US",
                "state_province_code": "KS",
                "is_residential": false,
                "addresses": ["6925 Riverview Ave"],
                "city": "Kansas City",
                "address_classification": "Commercial",
                "name": "Amazon",
                "phone": "0000000000",
                "attention": "Tom"
            },
            "ship_to": {
                "postal_code": "66102",
                "country_code": "US",
                "state_province_code": "KS",
                "is_residential": false,
                "addresses": ["6925 Riverview Ave"],
                "city": "Kansas City",
                "address_classification": "Commercial",
                "name": "Amazon",
                "phone": "0000000000",
                "attention": "Tom"
            },
            "packages": [{
                "dimension": {
                    "width": 10,
                    "height": 10,
                    "length": 10,
                    "code": "IN"
                },
                "weight": {
                    "code": "LBS",
                    "value": 20
                },
                "confirmation": "None",
                "insurance": {
                    "code": "USD",
                    "value": 20
                },
                "quantity": 1,
                "reference_numbers": [{
                    "code": "",
                    "value": "Test reference"
                }]
            }],
            "package_type": {
                "type": "common",
                "name": "Package"
            },
            "pickup_date": "20201029",
            "service_code": ""
        },
        "created_at": "2020-12-16T13:05:58.094Z"
    }
}